<?php
$this->breadcrumbs = array(
    'Categories' => array('index'),
    'Manage',
);
?>
<div class="box">
    <header>
        <h5>Manage categories</h5>
    </header>
    <div class="body">

        <?php
        $this->widget('bootstrap.widgets.TbGridView', array(
            'id' => 'category-grid',
            'dataProvider' => $model->search(),
            'filter' => $model,
            'columns' => array(
                'category_id',
                'name',
                'alias',
                array(
                    'name' => 'icon',
                    'filter' => false,
                    'type' => 'raw',
                    'value' => 'CHtml::image(UPLOAD_URL . $data->icon)'
                ),
                array(
                    'class' => 'bootstrap.widgets.TbButtonColumn',
                ),
            ),
        ));
        ?>
    </div>
</div>